package javatest;

public class test1 {
    public static void main(String[] args) {
        int a, b, c;
        a=18;
        b=19;
        c=a+b ;
        System.out.println("ab两数加法结果如下");
        System.out.println(a+"+"+b+"="+c);
        System.out.println("\n");

        c=a-b;
        System.out.println("ab两数减法结果如下");
        System.out.println(a+"-"+b+"="+c);
        System.out.println("\n");

        c=a*b;
        System.out.println("ab两数乘法结果如下");
        System.out.println(a+"x"+b+"="+c);
        System.out.println("\n");

        double c1;
        c1=a*1.0/b;
        System.out.println("ab两数除法结果如下");
        System.out.println(a+"/"+b+"="+c1);
        System.out.println("\n");




    }
}
